package com.sixmac.police.filter;

import com.sixmac.module.AdminUser;

/**
 * Created by 杨春.
 * 2017/12/24 22:01.
 */
public class FilterUser {
    /**
     * 过滤用户的一些保密信息
     *
     * @param user
     * @return
     */
    public static AdminUser filterUser(AdminUser user) {
        if (null == user)
            return null;

        user.setPassword(null);
        return user;
    }
}
